﻿<phone:PhoneApplicationPage 
    x:Class="PhotoMap.About"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    <phone:PhoneApplicationPage.Resources>
        <Style x:Key="titleTextBlock" TargetType="TextBlock">
            <Setter Property="FontSize" Value="52"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
        </Style>

        <Style x:Key="descriptionTextBlock" TargetType="TextBlock">
            <Setter Property="FontSize" Value="24"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
        </Style>

        <Style x:Key="hyperlinkTextBlock" TargetType="TextBlock">
            <Setter Property="FontSize" Value="28"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="TextDecorations" Value="Underline"/>
            <Setter Property="Margin" Value="40,10"/>
            <Setter Property="Foreground" Value="#FFAAAAFF"/>
        </Style>
    </phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="照片地图" Style="{StaticResource PhoneTextNormalStyle}"/>

            <!--软件介绍-->
            <StackPanel Margin="0,30">
                <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom">
                    <TextBlock Text="照片地图" Margin="9,-7,0,0" Style="{StaticResource titleTextBlock}"/>
                    <TextBlock Text="v" VerticalAlignment="Bottom"
                               Margin="40,0,10,0" Style="{StaticResource descriptionTextBlock}"/>
                    <TextBlock x:Name="versionTextBlock" Text="1.0版" VerticalAlignment="Bottom"
                               Margin="0" Style="{StaticResource descriptionTextBlock}"/>
                </StackPanel>
                <TextBlock Text="照片地图是一个在地图上显示照片拍摄位置的小应用，地图引擎采用了速度较快的Nokia地图，即使2G网络中，也能较快的打开地图。
" Margin="40,10" Style="{StaticResource descriptionTextBlock}"/>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Button Content="给个评价" Click="evaluateButton_Click"/>
                    <Button Grid.Column="1" Click="feekbackButton_Click"
                    Content="意见反馈"/>
                </Grid>
            </StackPanel>

            <!--相关软件-->
            <StackPanel Margin="0,30">
                <TextBlock Text="其他应用" Margin="9,-7,0,0" Style="{StaticResource titleTextBlock}"/>
                <TextBlock Text="单词小秘 CET-4" Style="{StaticResource hyperlinkTextBlock}" MouseLeftButtonUp="cet4TextBlock_MouseLeftButtonUp"/>
                <TextBlock Text="单词小秘 CET-6" Style="{StaticResource hyperlinkTextBlock}" MouseLeftButtonUp="cet6TextBlock_MouseLeftButtonUp"/>
                <TextBlock Text="单词小秘 GRE" Style="{StaticResource hyperlinkTextBlock}" MouseLeftButtonUp="greTextBlock_MouseLeftButtonUp"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</phone:PhoneApplicationPage>
